package com.example.gkw.dagger2test.demo4;

import javax.inject.Inject;

/**
 * Describe:
 * Author:hcs
 * Email:aaron1539@163.com
 * Date:2018/12/24 14:49
 **/
public class ACar {
    @Inject
    AEngine engineA;

    @Inject
    AEngine engineB;

    public ACar() {
        DaggerACarComponent.builder().aMarkCarModule(new AMarkCarModule()).build().inject(this);
    }

    public AEngine getEngineA() {
        return engineA;
    }

    public AEngine getEngineB() {
        return engineB;
    }
}
